<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>《${film.fname }》${video.vshow }百度影音在线观看 - 摆渡影视</title>
<meta name="keywords" content="${config.keywords }《${film.fname }》${video.vshow }"/>
<meta name="description" content="《${film.fname }》${video.vtitle }${video.vshow }${config.description }"/>
<jsp:include page="common/meta.jsp"/>
<script type="text/javascript" src="${js_ctx }/jquery-1.5.1.min.js"></script>
</head>
<body>
<div class="wrap mb">
  <div class="headleft l"><a href="/" class="logo" target="_self"><img src="${images_ctx }/logo.png" alt="百娱影视"/></a></div>
  <div class="r searchbar">
    <form action="${ctx }/search.html" method="post">
      <input type="text" name="word" class="searchword"/>
      <span></span>
      <input type="submit" class="ssubmit" value=""/>
    </form>
  </div>
</div>
<div class="pnav">
  <div class="wrap"> <a href="${ctx }">首页</a> 
  <c:forEach items="${menuList}" var="menu"><span></span> <a href="${ctx }/${menu.url }.html" <c:if test="${menu.cid eq category.cid }">class="this"</c:if> target="_self">${menu.cname }</a> </c:forEach>
  </div>
</div>
<div class="playbox">
  <div class="wrap">
    <div class="box">
      <div class="l playerbox mb">
        <h1><a href="${ctx }/${category.url }.html">${category.cname }</a>&gt;<a href="${ctx }/${category.url }/${film.url }.html">${film.fname }</a>&gt;${video.vtitle }</h1>
        <div class="player">
        <div id="ccplay" style="width:650px;height:526px;">
          ${player }
        </div>
        </div>
      </div>
      <div class="r playerright mb"><h5><a href="javascript:shang();" class="pre" target="_self">上一集</a><a href="javascript:xia();" target="_self" class="next">下一集</a><a href="#comment" class="error">报错</a><a href="#comment" class="comment">评论</a></h5>
      <div style="margin:13px 0 13px 0;"><img src="${images_ctx }/ad2.png"/></div>
      <div><img src="${images_ctx }/ad2.png"/></div>
      </div>
    </div>
  </div>
</div>
<div class="wrap">
  <div class="icommend ccommend border mb">
    <h3>其他人还在看</h3>
    <ul>
      <c:if test="${empty likeList}"><li>没有数据！</li></c:if>
      <c:forEach items="${likeList}" var="film">
      <li><a href="${ctx }/${film.curl }/${film.url }.html" class="pic"><img src="${film.imgurl }" alt="${film.fname }"/></a><strong><a href="${ctx }/${film.curl }/${film.url }.html">${film.fname }</a></strong></li>
      </c:forEach>
    </ul>
  </div> 
  <div class="des border mb">
    <h3>${category.cname }《${film.fname }》本片介绍</h3>
    <ul><li>${video.vcontent }</li></ul>
  </div>
  <div class="des border mb">
    <h3>${category.cname }《${film.fname }》演员表</h3>
    <ul><li>${film.actor }</li></ul>
  </div>
  <div class="des border mb">
    <h3>${category.cname }《${film.fname }》剧情介绍</h3>
    <ul><li>${film.content }</li></ul>
  </div>
  <div id="comment" class="icommend ccommend border mb">
      <h3>网友评论</h3>
	  <div id="comment_list">
		<div id="uyan_frame"></div>
		<script type="text/javascript" id="UYScript" src="http://v1.uyan.cc/js/iframe.js?UYUserId=1536952" async=""></script>
	  </div>
	  <jsp:include page="common/bottom.jsp"/>
  </div>
</div>
<script type="text/javascript">
  function shang(){
    var shang_vid = "${shang.vid}"; if(shang_vid!=""){ window.location.href="${ctx}/${category.url }/${film.url }_"+shang_vid+".html"; }else{ alert("没有了"); }
  }
  function xia(){
    var xia_vid = "${shang.vid}";  if(xia_vid!=""){  window.location.href="${ctx}/${category.url }/${film.url }_"+xia_vid+".html"; }else{  alert("没有了"); }
  }
</script>
</body>
</html>